<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ include file="/WEB-INF/views/public/main.jsp"%>
<ul>
	<li><a href="#">District</a></li>
</ul>
<div id="districtModule" class="tab_padding">
<script type="text/javascript" src="${resourceUrl}/js/module_district.js"></script>
	<h3>Search Districts</h3>
	<c:choose>
		<c:when test="${stateList.size() > 0}">
			<table id="districtModule_search_table">
				<tr>
					<td>State</td>

					<td><select name="stateToSearchList">
							<c:forEach var="state" items="${stateList}">
								<option value="${state.getId()}">${state.getName()}</option>
							</c:forEach>
					</select></td>
					<td><button id="districtModule_search_button"
							class="customButton">Search</button>
					</td>
				</tr>
			</table>
		</c:when>
		<c:otherwise>
			<p>No States available to add district. Go to States menu to add
				new State</p>
		</c:otherwise>
	</c:choose>	
</div>



